/**
 * 用户资料类
 */
export default class AppUserProfile {
    /**
     * 个人网页
     * @type {string|null}
     */
    webpage

    /**
     * 性别
     * @type {string}
     */
    gender

    /**
     * 生日（完整格式）
     * @type {string}
     */
    birth

    /**
     * 生日（日）
     * @type {string}
     */
    birth_day

    /**
     * 出生年份
     * @type {number}
     */
    birth_year

    /**
     * 地区
     * @type {string}
     */
    region

    /**
     * 地址ID
     * @type {number}
     */
    address_id

    /**
     * 国家代码
     * @type {string}
     */
    country_code

    /**
     * 职业
     * @type {string}
     */
    job

    /**
     * 职业ID
     * @type {number}
     */
    job_id

    /**
     * 关注用户总数
     * @type {number}
     */
    total_follow_users

    /**
     * MyPixiv用户总数
     * @type {number}
     */
    total_mypixiv_users

    /**
     * 插画作品总数
     * @type {number}
     */
    total_illusts

    /**
     * 漫画作品总数
     * @type {number}
     */
    total_manga

    /**
     * 小说作品总数
     * @type {number}
     */
    total_novels

    /**
     * 公开收藏插画总数
     * @type {number}
     */
    total_illust_bookmarks_public

    /**
     * 插画系列总数
     * @type {number}
     */
    total_illust_series

    /**
     * 小说系列总数
     * @type {number}
     */
    total_novel_series

    /**
     * 背景图片URL
     * @type {string}
     */
    background_image_url

    /**
     * Twitter账号
     * @type {string}
     */
    twitter_account

    /**
     * Twitter URL
     * @type {string}
     */
    twitter_url

    /**
     * Pawoo URL
     * @type {string|null}
     */
    pawoo_url

    /**
     * 是否Premium会员
     * @type {boolean}
     */
    is_premium

    /**
     * 是否使用自定义头像
     * @type {boolean}
     */
    is_using_custom_profile_image

    constructor(data) {
        this.webpage = data.webpage
        this.gender = data.gender
        this.birth = data.birth
        this.birth_day = data.birth_day
        this.birth_year = data.birth_year
        this.region = data.region
        this.address_id = data.address_id
        this.country_code = data.country_code
        this.job = data.job
        this.job_id = data.job_id
        this.total_follow_users = data.total_follow_users
        this.total_mypixiv_users = data.total_mypixiv_users
        this.total_illusts = data.total_illusts
        this.total_manga = data.total_manga
        this.total_novels = data.total_novels
        this.total_illust_bookmarks_public = data.total_illust_bookmarks_public
        this.total_illust_series = data.total_illust_series
        this.total_novel_series = data.total_novel_series
        this.background_image_url = data.background_image_url
        this.twitter_account = data.twitter_account
        this.twitter_url = data.twitter_url
        this.pawoo_url = data.pawoo_url
        this.is_premium = data.is_premium
        this.is_using_custom_profile_image = data.is_using_custom_profile_image
    }
}
